3.211 \(\int \sqrt {d x} (a+b \cos ^{-1}(c x))^2 \, dx\)

Optimal. Leaf size=109 \[ \frac {16 b^2 c^2 (d x)^{7/2} \, _3F_2\left (1,\frac {7}{4},\frac {7}{4};\frac {9}{4},\frac {11}{4};c^2 x^2\right )}{105 d^3}+\frac {8 b c (d x)^{5/2} \, _2F_1\left (\frac {1}{2},\frac {5}{4};\frac {9}{4};c^2 x^2\right ) \left (a+b \cos ^{-1}(c x)\right )}{15 d^2}+\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )^2}{3 d} \]

[Out]

2/3*(d*x)^(3/2)*(a+b*arccos(c*x))^2/d+8/15*b*c*(d*x)^(5/2)*(a+b*arccos(c*x))*hypergeom([1/2, 5/4],[9/4],c^2*x^
2)/d^2+16/105*b^2*c^2*(d*x)^(7/2)*HypergeometricPFQ([1, 7/4, 7/4],[9/4, 11/4],c^2*x^2)/d^3

________________________________________________________________________________________

Rubi [A]  time = 0.13, antiderivative size = 109, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {4628, 4712} \[ \frac {16 b^2 c^2 (d x)^{7/2} \, _3F_2\left (1,\frac {7}{4},\frac {7}{4};\frac {9}{4},\frac {11}{4};c^2 x^2\right )}{105 d^3}+\frac {8 b c (d x)^{5/2} \, _2F_1\left (\frac {1}{2},\frac {5}{4};\frac {9}{4};c^2 x^2\right ) \left (a+b \cos ^{-1}(c x)\right )}{15 d^2}+\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )^2}{3 d} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[d*x]*(a + b*ArcCos[c*x])^2,x]

[Out]

(2*(d*x)^(3/2)*(a + b*ArcCos[c*x])^2)/(3*d) + (8*b*c*(d*x)^(5/2)*(a + b*ArcCos[c*x])*Hypergeometric2F1[1/2, 5/
4, 9/4, c^2*x^2])/(15*d^2) + (16*b^2*c^2*(d*x)^(7/2)*HypergeometricPFQ[{1, 7/4, 7/4}, {9/4, 11/4}, c^2*x^2])/(
105*d^3)

Rule 4628

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*ArcCo
s[c*x])^n)/(d*(m + 1)), x] + Dist[(b*c*n)/(d*(m + 1)), Int[((d*x)^(m + 1)*(a + b*ArcCos[c*x])^(n - 1))/Sqrt[1
- c^2*x^2], x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && NeQ[m, -1]

Rule 4712

Int[(((a_.) + ArcCos[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[((f*x)
^(m + 1)*(a + b*ArcCos[c*x])*Hypergeometric2F1[1/2, (1 + m)/2, (3 + m)/2, c^2*x^2])/(Sqrt[d]*f*(m + 1)), x] +
Simp[(b*c*(f*x)^(m + 2)*HypergeometricPFQ[{1, 1 + m/2, 1 + m/2}, {3/2 + m/2, 2 + m/2}, c^2*x^2])/(Sqrt[d]*f^2*
(m + 1)*(m + 2)), x] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[c^2*d + e, 0] && GtQ[d, 0] &&  !IntegerQ[m]

Rubi steps

\begin {align*} \int \sqrt {d x} \left (a+b \cos ^{-1}(c x)\right )^2 \, dx &=\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )^2}{3 d}+\frac {(4 b c) \int \frac {(d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )}{\sqrt {1-c^2 x^2}} \, dx}{3 d}\\ &=\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )^2}{3 d}+\frac {8 b c (d x)^{5/2} \left (a+b \cos ^{-1}(c x)\right ) \, _2F_1\left (\frac {1}{2},\frac {5}{4};\frac {9}{4};c^2 x^2\right )}{15 d^2}+\frac {16 b^2 c^2 (d x)^{7/2} \, _3F_2\left (1,\frac {7}{4},\frac {7}{4};\frac {9}{4},\frac {11}{4};c^2 x^2\right )}{105 d^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.62, size = 202, normalized size = 1.85 \[ \frac {1}{27} \sqrt {d x} \left (\frac {3 \sqrt {2} \pi b^2 x \, _3F_2\left (\frac {3}{4},\frac {3}{4},1;\frac {5}{4},\frac {7}{4};c^2 x^2\right )}{\Gamma \left (\frac {5}{4}\right ) \Gamma \left (\frac {7}{4}\right )}+\frac {2 \left (9 a^2 c x+12 a b \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};c^2 x^2\right )-12 a b \sqrt {1-c^2 x^2}+18 a b c x \cos ^{-1}(c x)+12 b^2 \sqrt {1-c^2 x^2} \, _2F_1\left (\frac {3}{4},1;\frac {5}{4};c^2 x^2\right ) \cos ^{-1}(c x)-12 b^2 \sqrt {1-c^2 x^2} \cos ^{-1}(c x)-8 b^2 c x+9 b^2 c x \cos ^{-1}(c x)^2\right )}{c}\right ) \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Sqrt[d*x]*(a + b*ArcCos[c*x])^2,x]

[Out]

(Sqrt[d*x]*((2*(9*a^2*c*x - 8*b^2*c*x - 12*a*b*Sqrt[1 - c^2*x^2] + 18*a*b*c*x*ArcCos[c*x] - 12*b^2*Sqrt[1 - c^
2*x^2]*ArcCos[c*x] + 9*b^2*c*x*ArcCos[c*x]^2 + 12*a*b*Hypergeometric2F1[1/4, 1/2, 5/4, c^2*x^2] + 12*b^2*Sqrt[
1 - c^2*x^2]*ArcCos[c*x]*Hypergeometric2F1[3/4, 1, 5/4, c^2*x^2]))/c + (3*Sqrt[2]*b^2*Pi*x*HypergeometricPFQ[{
3/4, 3/4, 1}, {5/4, 7/4}, c^2*x^2])/(Gamma[5/4]*Gamma[7/4])))/27

________________________________________________________________________________________

fricas [F]  time = 0.49, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b^{2} \arccos \left (c x\right )^{2} + 2 \, a b \arccos \left (c x\right ) + a^{2}\right )} \sqrt {d x}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arccos(c*x))^2*(d*x)^(1/2),x, algorithm="fricas")

[Out]

integral((b^2*arccos(c*x)^2 + 2*a*b*arccos(c*x) + a^2)*sqrt(d*x), x)

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arccos(c*x))^2*(d*x)^(1/2),x, algorithm="giac")

[Out]

Exception raised: RuntimeError >> An error occurred running a Giac command:INPUT:sage2OUTPUT:sym2poly/r2sym(co
nst gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

________________________________________________________________________________________

maple [F]  time = 0.35, size = 0, normalized size = 0.00 \[ \int \left (a +b \arccos \left (c x \right )\right )^{2} \sqrt {d x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*arccos(c*x))^2*(d*x)^(1/2),x)

[Out]

int((a+b*arccos(c*x))^2*(d*x)^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {2}{3} \, b^{2} \sqrt {d} x^{\frac {3}{2}} \arctan \left (\sqrt {c x + 1} \sqrt {-c x + 1}, c x\right )^{2} + \frac {1}{6} \, a^{2} c^{2} \sqrt {d} {\left (\frac {4 \, x^{\frac {3}{2}}}{c^{2}} + \frac {6 \, \arctan \left (\sqrt {c} \sqrt {x}\right )}{c^{\frac {7}{2}}} + \frac {3 \, \log \left (\frac {c \sqrt {x} - \sqrt {c}}{c \sqrt {x} + \sqrt {c}}\right )}{c^{\frac {7}{2}}}\right )} + 6 \, a b c^{2} \sqrt {d} \int \frac {x^{\frac {5}{2}} \arctan \left (\frac {\sqrt {c x + 1} \sqrt {-c x + 1}}{c x}\right )}{3 \, {\left (c^{2} x^{2} - 1\right )}}\,{d x} - 4 \, b^{2} c \sqrt {d} \int \frac {\sqrt {c x + 1} \sqrt {-c x + 1} x^{\frac {3}{2}} \arctan \left (\frac {\sqrt {c x + 1} \sqrt {-c x + 1}}{c x}\right )}{3 \, {\left (c^{2} x^{2} - 1\right )}}\,{d x} - \frac {1}{2} \, a^{2} \sqrt {d} {\left (\frac {2 \, \arctan \left (\sqrt {c} \sqrt {x}\right )}{c^{\frac {3}{2}}} + \frac {\log \left (\frac {c \sqrt {x} - \sqrt {c}}{c \sqrt {x} + \sqrt {c}}\right )}{c^{\frac {3}{2}}}\right )} - 6 \, a b \sqrt {d} \int \frac {\sqrt {x} \arctan \left (\frac {\sqrt {c x + 1} \sqrt {-c x + 1}}{c x}\right )}{3 \, {\left (c^{2} x^{2} - 1\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arccos(c*x))^2*(d*x)^(1/2),x, algorithm="maxima")

[Out]

2/3*b^2*sqrt(d)*x^(3/2)*arctan2(sqrt(c*x + 1)*sqrt(-c*x + 1), c*x)^2 + 1/6*a^2*c^2*sqrt(d)*(4*x^(3/2)/c^2 + 6*
arctan(sqrt(c)*sqrt(x))/c^(7/2) + 3*log((c*sqrt(x) - sqrt(c))/(c*sqrt(x) + sqrt(c)))/c^(7/2)) + 6*a*b*c^2*sqrt
(d)*integrate(1/3*x^(5/2)*arctan(sqrt(c*x + 1)*sqrt(-c*x + 1)/(c*x))/(c^2*x^2 - 1), x) - 4*b^2*c*sqrt(d)*integ
rate(1/3*sqrt(c*x + 1)*sqrt(-c*x + 1)*x^(3/2)*arctan(sqrt(c*x + 1)*sqrt(-c*x + 1)/(c*x))/(c^2*x^2 - 1), x) - 1
/2*a^2*sqrt(d)*(2*arctan(sqrt(c)*sqrt(x))/c^(3/2) + log((c*sqrt(x) - sqrt(c))/(c*sqrt(x) + sqrt(c)))/c^(3/2))
- 6*a*b*sqrt(d)*integrate(1/3*sqrt(x)*arctan(sqrt(c*x + 1)*sqrt(-c*x + 1)/(c*x))/(c^2*x^2 - 1), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )}^2\,\sqrt {d\,x} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*acos(c*x))^2*(d*x)^(1/2),x)

[Out]

int((a + b*acos(c*x))^2*(d*x)^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {d x} \left (a + b \operatorname {acos}{\left (c x \right )}\right )^{2}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*acos(c*x))**2*(d*x)**(1/2),x)

[Out]

Integral(sqrt(d*x)*(a + b*acos(c*x))**2, x)

________________________________________________________________________________________